﻿<?php
global $base_path, $base_url;
$rows = $view->result;
//print'<pre>';
//var_dump($view->result);
//print'</pre>';
?>
<div id="category_product_new">
    <ul>
        <?php
        foreach ($rows as $item) {

            $ter = taxonomy_get_children($item->tid);
            ?>

            <li>
                <a href="/dieu-hoa-khong-khi_dm2.html" class="root"><span><?php print $item->taxonomy_term_data_name ?></span></a>

                <?php if (count($ter)) { ?>
                    <div class="sub_menu_cat_new ">
                        <?php foreach ($ter as $t) { ?>
                            <a href="/dieu-hoa-treo-tuong_dm49.html"><span><?php print $t->name; ?></span></a>
                        <?php } ?>
                    </div>
                <?php } ?>
            </li>
            <?php }
        ?>

    </ul></div>